<?php 
$a = 10;
$b = 20;

function add()
	global $a, $b;
	return $a+$b;
}
$c = $a+$b;
echo '$c='.$c.'\n';


?>